# encoding = utf-8
import win32api
import datetime
import tkinter


root = tkinter.Tk(className='长跑报告管理')
# root.title('长跑报告')
root.geometry('800x400+800+300')

cur_time = datetime.datetime.now()
now_time_hour = datetime.datetime.now().hour
now_time_min = datetime.datetime.now().minute
now_time_sec = datetime.datetime.now().second
print(cur_time)
print(now_time_hour, now_time_min, now_time_sec)

hour = tkinter.StringVar(value=now_time_hour)
minute = tkinter.StringVar(value=now_time_min)
secs = tkinter.StringVar(value=now_time_sec)
tkinter.Label(root, text='详细信息').pack()
tkinter.Entry(root, width=50).pack()
tkinter.Label(root, text=cur_time).pack()
tkinter.Entry(root, width=50).pack()
# interface.window_interface(root, hour, minute, secs)
root = tkinter.Tk(className='长跑报告管理')
root.geometry('800x400+800+300')
tkinter.Frame(root)
# f_fra.pack(padx=12, pady=6)
tkinter.Label(root, text='详细信息:').grid(row=0, column=0)
tkinter.Label(root, text=info).grid(row=0, column=1)
text = tkinter.Entry(root, width=20)
text.grid(row=1, column=1)
# win32api.MessageBox(0, hour, minute, secs)
root.mainloop()
